//
//  OMTPhotoCell.h
//  OMTImagePicker
//
//  Created by yizhaorong on 2017/11/15.
//

#import <UIKit/UIKit.h>
#import "OMTAsset.h"

@class OMTPhotoCell, OMTAlbumManager;
@protocol OMTPhotoCellDelegate <NSObject>
@optional

/**
 预览

 @param cell cell
 */
- (void)photoCellWillPreview:(OMTPhotoCell *)cell;


/**
 需要重新加载

 @param cell 需要重新加载的cell
 */
- (void)photoCellNeedReload:(OMTPhotoCell *)cell;

@end

@interface OMTPhotoCell : UICollectionViewCell

@property (nonatomic, strong) OMTAsset *asset;

@property (nonatomic, strong) UIImage *image;

@property (nonatomic, weak) id<OMTPhotoCellDelegate> delegate;

@property (nonatomic, weak) OMTAlbumManager *albumManager;

@end
